<%
# this partial expects:
# * project - a valid project to display
-%>
<div class="project_summary">
  <p>
    <span class="name"><%= link_to h(project.name), project_url(project.name) %></span><br />
    <span class="description"><%= white_list(project.description) %></span><br />
    <span class="issues">
      Issues:
      <%= link_to value( project.issues.open.size.to_s ) + ' open',
                  issues_path( project.name ) %>,
      <%= link_to value( (project.issues.size- project.issues.open.size).to_s ) + ' closed',
                  :controller => :issues, :project_id => project.name, :action => :closed %>
    </span><br />
    <span class="links">
      <ul>
        <li><%= link_to 'Submit an Issue', new_issue_path( project.name ) %></li> &ndash; 
        <li><%= link_to 'Project Forum', "#" %></li>
      </ul>
    </span>
  </p>
</div>
